package com.ymatou.iapi.productmanager.service;

import org.json.JSONObject;

import com.ymttest.business.YmatouAutoTestCall;
import com.ymttest.utils.EnvSetup;
import com.ymttest.utils.MapUtil;

public class QueryProductPropertyCall  extends YmatouAutoTestCall {

	private static String opurl ="api/SellerProduct/QueryProductProperty";

	public QueryProductPropertyCall() {
		super(EnvSetup.getSystemUrl("productmanager"),opurl,"GET","JSON");
	}
	
	public void addDefHeader() {
	}

	

	public JSONObject call(int thirdCategoryId,int spuId){
		return this.callAndGetReturnData(MapUtil.hashMap("ThirdCategoryId",thirdCategoryId,"SpuId",spuId));
		
	}
	
	
	
	public static void main(String[] args) {
		QueryProductPropertyCall aCall = new QueryProductPropertyCall();
		aCall.callAndGetReturnData(MapUtil.hashMap("ThirdCategoryId", 1123));
	}

}